import { RowKeysType } from "./type";
export const rowKeys: RowKeysType = {
  id: null,
  buss_id: null,
  uid: null,
  name: null,
  start_time: null,
  end_time: null,
  city: null,
  address: null,
  position_x: null,
  position_y: null,
  confirmed_num: null,
  member_num: null,
  payment_method: null,
  introduction: null,
  is_post_anony: null,
  is_provide_ticket: null,
  is_club_belong: null,
  need_cert_level: null,
  need_vip_level: null,
  background_img: null,
  tags: null,
  im_group_id: null,
  status: null,
  active_sign_in: null,
  is_delete: null,
  create_time: null,
  update_time: null,
  initiator: {
    uid: null,
    nickname: null,
    sex: null,
    avatar: null,
  },
};

export const openModalInfo = reactive({
  isOpenByDraw: false, // 是否通过抽屉打开
  drawCallback: () => {}, // // 刷新抽屉信息
});
export const setOpenModalInfo = (data: typeof openModalInfo) => {
  openModalInfo.isOpenByDraw = data.isOpenByDraw;
  openModalInfo.drawCallback = data.drawCallback;
};
export const tabPower = reactive([true, true]);
